<template>
	<view class="container">
		<input class="input" v-model="username" placeholder="用户名"></input>
		<input class="input" v-model="password" type="password" placeholder="密码"></input>
		<button class="btn" @click="login">登录</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				username: '',
				password: ''
			};
		},
		methods: {
			login() {
				// 执行登录逻辑  
				// ...  
			}
		}
	};
</script>

<style scoped>
	.container {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100vh;
		width: 100vw;
		background-color: #f5f5f5;
	}

	.input {
		margin-bottom: 16px;
		padding: 8px;
		border: 1px solid #ccc;
		border-radius: 4px;
	}

	.btn {
		padding: 16px;
		background-color: #409EFF;
		color: #fff;
		border: none;
		border-radius: 4px;
		font-size: 16px;
		font-weight: bold;
		cursor: pointer;
	}
</style>